package com.ecoolex.discount.sales.pojo;

import com.ecoolex.framework.common.annotation.Description;
import org.springframework.lang.NonNull;

import java.util.Date;

public class AddDiscountProductInventoryDTO {

    @Description({"卡号/券号"})
    @NonNull
    private String voucherNumber;


    @Description({"卡pin/券密"})
    private String voucherPass;

    @NonNull
    public String getVoucherNumber() {
        return voucherNumber;
    }

    public AddDiscountProductInventoryDTO setVoucherNumber(@NonNull String voucherNumber) {
        this.voucherNumber = voucherNumber;
        return this;
    }

    public String getVoucherPass() {
        return voucherPass;
    }

    public AddDiscountProductInventoryDTO setVoucherPass(String voucherPass) {
        this.voucherPass = voucherPass;
        return this;
    }

    @Override
    public String toString() {
        return "AddDiscountProductInventoryDTO{" +
                "voucherNumber='" + voucherNumber + '\'' +
                ", voucherPass='" + voucherPass + '\'' +
                '}';
    }
}
